package com.onlinelearn.paymentservice.dto;

import com.onlinelearn.paymentservice.model.PaymentMethod;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

public class PaymentRequestDTO {
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @NotNull(message = "支付金额不能为空")
    private BigDecimal amount;

    @NotNull(message = "支付方式不能为空")
    private PaymentMethod paymentMethod;

    private Long studentId;

    // Getter和Setter方法
} 